<%@ page contentType="text/html; charset=utf-8" %>
<%@ include file="/WEB-INF/jsp/includeTaglib.jsp" %>



<div class="globalText" style="padding: 15px;border: solid 1px #999999;margin: 15px;width: auto;" >


	<table class="globalText dbborder" width="100%" border="0" cellpadding="5" cellspacing="5" style="margin: 5px;">
		<tr>
			<td>任务名称</td>
			<td>
				<input name="jobName" type="text" class="txtbox " size="20" />
			</td>
            <c:if test="${jobStatus==null}">
                <td>任务状态</td>
                <td>
                    <select name="jobStatus">
                        <option value="">--全部--</option>
                        <option value="NOT_FINISHED">未完成</option>
                        <option value="DELAYED">延误</option>
                        <option value="FINISHED">已完成</option>
                    </select>
                </td>
            </c:if>

			<%--<td>完成状态</td>--%>
			<%--<td>--%>
				<%--<select name="finishStatus">--%>
					<%--<option value="">--全部--</option>--%>
                    <%--<option value="FINISHED">已完成</option>--%>
                    <%--<option value="NOT_FINISHED">延误</option>--%>
				<%--</select>--%>
			<%--</td>--%>
		</tr>
		<tr>
			<td>终端名称</td>
			<td>
				<input name="storeName" readonly="readonly" type="text" class="txtbox required" size="20"
					onclick="javascript:var rtnVal=window.showModalDialog('<c:url value="/channelList.html" />',window,'status:no;resizable:no;directories:no;help:no;scroll:no;dialogWidth=800px;dialogHeight=600px;dialogLeft:500px;dialogTop:300px;');
										 							   if(typeof(rtnVal)!='undefined') {this.value=rtnVal[1]}"
				/>
			</td>
			<td>项目名称</td>
			<td>
				<input name="projectName" type="text" class="txtbox " size="20" />
			</td>
			<td>项目类型</td>
			<td>
				<select name="projectCategoryName">
					<option value="">--全部--</option>
					<c:forEach var="cat" items="${projCatList}">
						<option value="${cat.name}" >${cat.name}</option>
					</c:forEach>
				</select>
			</td>
		</tr>
		<tr>
			<td>任务日期</td>
			<td>
				<input name="planDate" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'});" type="text" class="txtbox " size="20" />
			</td>
			<td>开始时间</td>
			<td>
				<input id="searchStartTime" onclick="WdatePicker({dateFmt:'HH:mm:ss',maxDate:'#F{$dp.$D(\'searchEndTime\')}'})" name="startTime"  type="text" class="txtbox " size="20" />
			</td>
			<td>结束时间</td>
			<td>
				<input id="searchEndTime" onclick="WdatePicker({dateFmt:'HH:mm:ss',minDate:'#F{$dp.$D(\'searchStartTime\')}'})" name="endTime" type="text" class="txtbox " size="20" />
			</td>
		</tr>
		<tr>
			<td></td>
		</tr>
		<tr>
			<td align="center" colspan="4">
				<input style="margin-left: 150px;" type="button" class=" btnStyle" value="提交"
				onclick="javascript:listDefaultPageAjax('taskListData','taskSearchForm','<c:url value="/plan/taskListData.html" />');"
				/>
			</td>
		</tr>
	</table>
</div>
